<cfoutput>
	<div class="float-left" style="margin:5px;">
		<cfpod title="Named &Uuml;bersicht der angemeldeten Chars" height="360" width="400" headerStyle="color:black;">
			<table cellpadding="0" cellspacing="1">
				<tr>
					<th width="180">Charakter</th>
					<th>Anz. fehlende</th>
					<th>Anz. doppelte</th>
				</tr>
				<cfloop query="queryUsers">
					<cfquery name="queryCountMissing" datasource="tidtool">
						SELECT *
						FROM
							Named_Person
						WHERE
							PersonID = <cfqueryparam cfsqltype="cf_sql_integer" value="#queryUsers.ID#" />
					</cfquery>
					<cfquery name="queryCountDouble" datasource="tidtool">
						SELECT *
						FROM
							NamedDouble_Person
						WHERE
							PersonID = <cfqueryparam cfsqltype="cf_sql_integer" value="#queryUsers.ID#" />
					</cfquery>
					<tr>
						<td>
							#queryUsers.userName#
						</td>
						<td>
							<cftooltip hidedelay="400" tooltip="Zeigt an welche Named #queryUsers.Username# fehlen und wer die fehlenden doppelt hat.">
								<a href="##" onclick="ColdFusion.Window.create('MissingList_#queryUsers.ID#', 'Fehlende Named f&uuml;r #queryUsers.userName#',
							        'missingNamedList.cfm?userID=#queryUsers.ID#',
							        {x:100,y:100,height:400,width:600,modal:true,closable:true,
							        draggable:true,resizable:true,center:true,
							        minheight:200,minwidth:200 })">
								#queryCountMissing.recordCount#
								</a>
							</cftooltip>
						</td>
						<td>
							<cftooltip hidedelay="400" tooltip="Zeigt an wem #queryUsers.Username# seine doppelten Named geben k&ouml;nnte.">
								<a href="##" onclick="ColdFusion.Window.create('DoubleList_#queryUsers.ID#', 'Doppelte Named bei #queryUsers.userName#',
							        'doubleNamedList.cfm?userID=#queryUsers.ID#',
							        {x:100,y:100,height:400,width:600,modal:true,closable:true,
							        draggable:true,resizable:true,center:true,
							        minheight:200,minwidth:200 })">
									#queryCountDouble.recordCount#
								</a>
							</cftooltip>
						</td>
					</tr>
				</cfloop>
			</table>
		</cfpod>
	</div>

	<div class="clear-float" />

</cfoutput>